package com.pearadmin.modules.blog.service.impl;

import com.pearadmin.modules.blog.domain.Label;
import com.pearadmin.modules.blog.mapper.LabelMapper;
import com.pearadmin.modules.blog.service.ILabelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("labelService")
public class LabelServiceImpl implements ILabelService {

    @Resource
    LabelMapper labelMapper;

    @Override
    public List<Label> selectAll() {
        return labelMapper.selectAll();
    }
}
